/* system runtime related */

var express = require('express')
var router = express.Router()


/**
 * Initialize System:
 * 	1. Check if database exists, otherwise report error
 * 	2. Check if super user exist, otherwise Create super user account
 */
router.get("/init", function(req, res, next){
  return res.render("/tbd");
})

/**
 * reload system config or something resouces in memory cached
 *  e.g. a csv file or txt file.
 */
router.get("/reload", function(req, res, next){
  return res.redirect("/tbd");
})


module.exports = router;
